package com.server.model.all.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.model.all.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("sms_operation_log")
@Getter
@Setter

public class SmsOperationLogEntity extends BaseEntity {
    /**
     *
     * @author LXC
     * @date 2022/6/17 21:32
     */
    @TableId(type = IdType.AUTO)
    private Long smsOperationLogId;

    /**
     * 平台类型(1.聚合 2.阿里)
     * @author LXC
     * @date 2022/6/6 22:11
     */
    private Integer platform;

    /**
     * 模板ID
     * @author LXC
     * @date 2022/6/6 22:11
     */
    private String tplId;

    /**
     * 手机号
     * @author LXC
     * @date 2022/6/6 22:12
     */
    private String mobile;

    /**
     * 模板值
     * @author LXC
     * @date 2022/6/6 22:12
     */
    private String code;

    /**
     *  发送状态(1.已发送 2.已验证)
     * @author LXC
     * @date 2022/6/6 22:12
     */
    private Integer status;

    /**
     * 短信类型 1.登录 2.注册
     * @author LXC
     * @date 2022/6/22 23:52
     */
    private Integer smsType;

    /**
     *  用户ID
     * @author LXC
     * @date 2022/6/6 22:12
     */
    private Long userId;
}
